<?php
$this->pageTitle = Yii::app()->name . ' - Login';
?>
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/login.css" />

<?php Yii::app()->clientScript->registerScript('Login', "
  
     
		$(function(){ 
			$('label').inFieldLabels(); 
                       
			$('input').attr('autocomplete','off').each(function(){
                                var id=$(this).attr('id');
                              
                                $(this).keydown(function(){
                                
                                    $('label[for='+id+']').hide();
                                })
                        });;
		});
		
                
	
     ", CClientScript::POS_END); ?>


<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <div class="header">		
    </div>
    <div class="vendors">
    </div>
    <div class="cclogo">	
        <div class="labelfrmLogin">		
        </div>
    </div>

    <div class="footerContainer">
        <div class="formLogin">
            <?php
            $form = $this->beginWidget('CActiveForm', array(
                        'id' => 'loginForm',
                        'htmlOptions' => array(
                            'style' => 'width: 636px; left: 232px; margin-top: -56px; margin-left: 0px;'
                        )
                    ))
            ?>
            <label for="LoginForm_email">Email</label>
            <?php
            echo $form->textField($model, 'email', array(
                'class' => 'field eye-transparent-mouse-opaque',
                'spellcheck' => 'false',
                'maxleght' => '128',
                'id' => 'username',
                'style' => 'font-size: 17px; padding-left: 12px; padding-right: 0px; width: 234px;'
            ));
            ?>
            <label for="LoginForm_password">Password</label>
            <?php
            echo $form->passwordField($model, 'password', array(
                'maxlength' => 128,
                'id' => 'password',
                'class' => 'field eye-transparent-mouse-opaque',
            ));
            ?>
            <input type="submit" value="" id="submit" name="submit"/>

            <div class="link" style=" height: 22px;
                 left: 0;
                 top: 0;
                 width: 700px;
                 z-index: 10;">
                <ul>
                    <li><a href='index.php?r=pages/display&id=3'>Terms of service</a></li>
                    <li><a href='index.php?r=pages/display&id=4'>Privacy policy</a></li>
                    <li><a href='index.php?r=pages/display&id=2'>Help</a></li>
                    <li><a href='index.php?r=site/forgetpassword'>Forgot password</a></li>
                </ul>


            </div>
            <div class="copyright" style="height: 20px;position: absolute;
                 right: 0;
                 text-align: right;
                 top: 1px;
                 width: 300px;">
                <div style="color: #95C9EB;

                     font-size: 11px;
                     height: 20px;
                     left: 0;
                     top: 0;
                     width: 300px;
                     z-index: 10;">Copyright @ 1991 - <?= date('Y') ?> QSI, INC. <br/> All Rights Reserved</div>

            </div>
            <div class="clear"></div>
        </div>
    </div>
</body>
